<!-- 通用JS -->
<div th:fragment="footer">
    <script th:inline="javascript"> let ctx = [[@{/}]]; </script>
</div>